#pragma once
#include <iostream>
#include <string>
#include <unordered_map>

class Session
{
private:
    std::string name;
    bool islogin;
    uint16_t session_id;
    //其他信息
};

class SessionManager
{
public:
    void CreateSession(uint16_t seesion_id)
    {

    }
    void DeleteSession(uint16_t session_id)
    {

    }
    void SearchSession(uint16_t session_id)
    {}
private:
    std::unordered_map<uint16_t, Session*> _session;
};